package com.yn.module.material.utils;

import com.yn.common.utils.ex.BaseError;
import lombok.AllArgsConstructor;
import lombok.Getter;


/**
 * @description:    错误码
 * 公共模块：4位，
 * 业务模块：12-34-567 ：12：模块，34：菜单：567：对应错误码
 * @author: 叶甯
 * @create: 2022/10/13 14:34
 * @since: 1.0.0
 * @copyright (C), 2022, https://gitee.com/johnny .All rights reserved.
 */
@Getter
@AllArgsConstructor
public enum ErrorCode implements BaseError {

    check_params_err(1001,"请求参数校验失败"),

    xls_check_err(1101,"Excel数据校验失败"),
    xls_idx_err(1102,"期望读取的Excel Sheet索引不存在"),

    ;


    private int code;
    private String message;


}
